package cn.wu.org.service.impl;

import cn.wu.basic.service.impl.BaseServiceImpl;
import cn.wu.org.domain.Employee;
import cn.wu.org.service.IEmployeeService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class EmployeeServiceImpl extends BaseServiceImpl<Employee> implements IEmployeeService {

    //因为Service中的方法都被抽取出来了并且在公共实现类BaseServiceImpl中实现了，
    //所以不需要再实现方法了，直接继承BaseServiceImpl

}
